﻿<!-- INCLUDE page_header.html -->

<!-- INCLUDE primitive_header.html -->
<!-- INCLUDE forum_header -->
	
	<!-- IF RULES -->
	<div id="forum-rules">
		<p><strong>{L_FORUM_RULES}</strong></p>
		<p>{RULES}</p>
	</div>
	<!-- ENDIF -->
	
  <!-- IF FORUMS -->
  <ul class="list">
  <!-- BEGIN forum_list -->
  <!-- IF forum_list.IS_CATEGORY -->
			<li class="list-item divider"><a href="{forum_list.URI}">{forum_list.TITLE}</a></li>
  <!-- ENDIF -->
  <!-- IF forum_list.IS_FIRST -->
  <!-- ENDIF -->
    <!-- IF forum_list.IS_FORUM -->
	<li class="list-item icon forum">
        <a href="{forum_list.URI}">
            <span class="count">{forum_list.TOPICS} topics</span>
	        <!-- IF forum_list.IS_READ -->
	        <img src="/images/posticon_read_med.png" />
	        <!-- ELSE -->
	        <img src="/images/posticon_unread_med.png" />
	        <!-- ENDIF -->
            <p><strong>{forum_list.TITLE}</strong></p>
            <p>{forum_list.DESCRIPTION}</p>
            <!-- IF forum_list.sub_forum_list -->
            <p>
            <!-- BEGIN forum_list.sub_forum_list -->
            {forum_list.sub_forum_list.TITLE}
            <!-- END forum_list.sub_forum_list -->
            </p>
            <!-- ENDIF -->
        </a>
    </li>
    <!-- ENDIF -->
  <!-- IF forum_list.IS_LAST -->
  <!-- ENDIF -->
  <!-- END forum_list -->
  <!-- ENDIF -->
</ul>
	
	<!-- IF TOPICS -->
  <p>{PAGINATION}</p>
			  <ul class="list">
    <li class="list-item divider">Topics</li>
    <!-- BEGIN topic_list -->
    <li class="list-item icon topic">
		<a href="{topic_list.URI}">
    <!-- IF topic_list.IS_NORMAL_READ_UNLOCKED -->
    <img src="/images/posticon_read_med.png" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_NORMAL_UNREAD_UNLOCKED -->
    <img src="/images/posticon_unread_med.png" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_NORMAL_READ_LOCKED -->
    <img src="" class="ui-li-icon ui-corner-none" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_NORMAL_UNREAD_LOCKED -->
    <img src="" class="ui-li-icon ui-corner-none" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_STICKY_READ_UNLOCKED -->
    <img src="/images/posticon_read_med_sticky.png" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_STICKY_UNREAD_UNLOCKED -->
    <img src="/images/posticon_unread_med_sticky.png" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_STICKY_READ_LOCKED -->
    <img src="" class="ui-li-icon ui-corner-none" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_STICKY_UNREAD_LOCKED -->
    <img src="" class="ui-li-icon ui-corner-none" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_ANNOUNCEMENT_READ_UNLOCKED -->
    <img src="/images/posticon_read_med_announce.png" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_ANNOUNCEMENT_UNREAD_UNLOCKED -->
    <img src="/images/posticon_unread_med_announce.png" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_ANNOUNCEMENT_READ_LOCKED -->
    <img src="" class="ui-li-icon ui-corner-none" />
    <!-- ENDIF -->
    <!-- IF topic_list.IS_ANNOUNCEMENT_UNREAD_LOCKED -->
    <img src="" class="ui-li-icon ui-corner-none" />
    <!-- ENDIF -->

          <p><strong>{topic_list.TITLE}</strong></p>
          <p>by {topic_list.USERNAME}<br />on  {topic_list.DATE}</p>
          <span class="count">{topic_list.REPLIES} replies</span></a>
      </dl>
    </li>
    <!-- END topic_list -->
	</ul>
  <p>{PAGINATION}</p>
  <!-- ELSE -->
  <p>{L_NO_TOPICS_FORUM}</p>
	<!-- ENDIF -->

<!-- IF INDEX_STATISTICS -->
<div class="forum-statistics">
  <p>Forum posts {FORUM_POSTS} &bull; Forum topics {FORUM_TOPICS} &bull; Group members {GROUP_MEMBERS}</p>
</div>
<!-- ENDIF -->

<!-- IF PERMISSION_BLOCK -->
{PERMISSION_BLOCK}
<!-- ENDIF -->
<!-- INCLUDE primitive_footer.html -->
<!-- INCLUDE page_footer.html -->